package com.jse.keyword.zstatic;


public class StaticTest {
	static int i = 6;
	
	public StaticTest() {
		i = i + 5;
	}
	
	public static void increment() {
		i++;
	}
	
	/**
	 * 实例化一个对象，i变量执行几次
	 * 
	 * 
	 */
	public static void main(String[] args) {
		System.out.println(i);
		StaticTest t = new StaticTest();
		System.out.println(i);
		System.out.println(t.i);
	}
}
